#pragma once
#include "Game.h"
#include "BrickList.h"
#include "QuadTree.h"
#include <vector>

class BreakOut: public Game
{
protected:
	MovingObject *ball;
	Paddle *paddle;
	BrickList bricklist;
	Brick *brick;

	QuadTree tree;

public:
	BreakOut(HINSTANCE hInstance, LPCWSTR GameName, LPSTR lpCmdLine, int nShowCmd, int FPS, int ScreenWidth, int ScreenHeight);
	~BreakOut(void);

	void GameUpdate();
	void RenderFrame();

	void LoadResource();
	void OnKeyDown(int KeyCode);
};

